Skip to content

Conversation

@ianmacartney
Copy link
Contributor

@ianmacartney ianmacartney commented Oct 7, 2025

Allows running a workflow as a step in a parent workflow. The overall workflow's return value will be stored in the step, and an exception raised in a nested workflow will bubble up to the parent workflow (that can be caught w/ try/catch if you want)

Also surfaces return value in status:

Fixes #93


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ianmacartney and others added 19 commits October 7, 2025 12:25
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ianmacartney and others added 7 commits October 15, 2025 23:34
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ianmacartney and others added 3 commits October 17, 2025 14:07
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@awtotty
Copy link

awtotty commented Oct 31, 2025

Hey Ian, thanks for working on this! This feature would be super useful for my use case.

I saw the PR’s been open for a few weeks and was wondering if there’s anything blocking it or if testing/feedback would help move it forward. Thanks.

@ianmacartney
Copy link
Contributor Author

You can try it with the alpha already @awtotty - npm i @convex-dev/workflow@alpha - any feedback is welcome. there are no known issues and I think it'll go into the main release as-is, except for maybe a naming change on some types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants